package com.sky.ok.okex.entity;

/**
 * @title 指数行情
 * @author sky
 * @create 2019-05-29 13:49
 **/
public class IndexTicker {
    //币种（类似BTC-USD）
    private  String instrument_id;

    //最新成交价
    private  String last;

    //24小时最高价
    private  String high_24h;

    //24小时最低价
    private  String low_24h;

    //系统时间戳
    private  String timestamp;

    //24h开盘价
    private  String open_24h;

    public String getInstrument_id() {
        return instrument_id;
    }

    public void setInstrument_id(String instrument_id) {
        this.instrument_id = instrument_id;
    }

    public String getLast() {
        return last;
    }

    public void setLast(String last) {
        this.last = last;
    }

    public String getHigh_24h() {
        return high_24h;
    }

    public void setHigh_24h(String high_24h) {
        this.high_24h = high_24h;
    }

    public String getLow_24h() {
        return low_24h;
    }

    public void setLow_24h(String low_24h) {
        this.low_24h = low_24h;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public String getOpen_24h() {
        return open_24h;
    }

    public void setOpen_24h(String open_24h) {
        this.open_24h = open_24h;
    }

    @Override
    public String toString() {
        return "IndexTicker{" +
                "instrument_id='" + instrument_id + '\'' +
                ", last='" + last + '\'' +
                ", high_24h='" + high_24h + '\'' +
                ", low_24h='" + low_24h + '\'' +
                ", timestamp='" + timestamp + '\'' +
                ", open_24h='" + open_24h + '\'' +
                '}';
    }
}
